package com.topscomm.main.hessian;

import com.topscomm.basic.BasicEntity;
import com.topscomm.mpm.pojo.BaseOperateRecordEntity;
import com.topscomm.tap.common.SessionUserBean;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @Classname IBaseOperateRecordService
 * @Date 2022/5/6
 * @Created by jiangtao
 */
public interface IBaseOperateRecordService {
	void changeOperateMarkState(Map<String, Object> operateMap, SessionUserBean sessionUserBean);
	List<Map<String, Object>> getMarkedData(List<Map<String, Object>> tempList, String tableName,String usercode);
	String queryMarkedInfo(String sourcetype, String sourceid,String taskids);
	String queryMarkedInfoByTask(String sourcetype, String sourceid,String projectcode);
	List<Map<String, Object>> querySignInfo(Map<String, Object> paraMap);

    /**
     * @Description:    根据sourcetype, sourceid, operatetype增加操作记录
     * @Author:         mengmeng
     * @Date:           2021/7/21 15:27
     * @Version:        1.0
     */
    void insertOperateRecord(String sourceType, List<String> sourceIdList, String operateType, String userCode, String userName, String deptCode, String orgCode);

    List<BaseOperateRecordEntity> query(Map<String, Object> paraMap, String selectName);
	int deleteByWhere(String whereSql);
	Map<String, Object> queryMapById(String id);
	Map<String, Object> insertSign(Map<String, Object> map);
	int update(Map<String, Object> map);
}
